package cn.iocoder.yudao.module.system.controller.admin.subjectcombination.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 选科组合创建 Request VO")
@Data
public class SubjectCombinationCreateReqVO {

    @Schema(description = "组合编码", requiredMode = Schema.RequiredMode.REQUIRED, example = "物化生")
    @NotBlank(message = "组合编码不能为空")
    private String combinationCode;

    @Schema(description = "组合名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "物理+化学+生物")
    @NotBlank(message = "组合名称不能为空")
    private String combinationName;

    @Schema(description = "包含科目", requiredMode = Schema.RequiredMode.REQUIRED, example = "[\"物理\", \"化学\", \"生物\"]")
    @NotBlank(message = "包含科目不能为空")
    private String subjects;

    @Schema(description = "类别", requiredMode = Schema.RequiredMode.REQUIRED, example = "新高考")
    @NotBlank(message = "类别不能为空")
    private String category;

    @Schema(description = "描述", example = "传统理科组合")
    private String description;

    @Schema(description = "排序", example = "1")
    private Integer sortOrder;

    @Schema(description = "状态", example = "1")
    private Integer status;

}